package com.framework.admin.service;

import com.framework.admin.model.SysDept;
import com.framework.common.vo.TreeNode;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IDeptService {
    List<SysDept> deptList(SysDept sysDept);

    Page<SysDept> deptPage(SysDept sysDept, Pageable request);

    List<TreeNode<SysDept>> deptTree(SysDept sysDept);

    void save(SysDept menu);

    void delete(List<String> ids);
}
